package org.jeecg.modules.basic.attendance.entity;

import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.jeecg.common.aspect.annotation.Dict;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * @Description: 床位信息
 * @Author: jeecg-boot
 * @Date:   2021-01-20
 * @Version: V1.0
 */
@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="", description="床位信息")
public class LwgyInoutAttendanceFormStu implements Serializable {
    private static final long serialVersionUID = 1L;

	/**主键*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "主键")
    @TableField(exist = false)
    private String id;
	/**学校*/
	@Excel(name = "学校", width = 15)
    @Dict(dicCode = "id",dicText = "name",dictTable = "lwgy_base_apartment")
    @ApiModelProperty(value = "学校")
    @TableField(exist = false)
    private String schoolId;
	/**校区*/
	@Excel(name = "校区", width = 15)
    @Dict(dicCode = "id",dicText = "name",dictTable = "lwgy_base_apartment")
    @ApiModelProperty(value = "校区")
    @TableField(exist = false)
    private String campusId;
	/**院系*/
	@Excel(name = "院系", width = 15)
    @Dict(dictTable = "lwgy_base_school",dicCode = "id",dicText = "name")
    @ApiModelProperty(value = "院系")
    @TableField(exist = false)
    private String facultyId;
	/**楼宇*/
	@Excel(name = "楼宇", width = 15)
    @Dict(dicCode = "id",dicText = "name",dictTable = "lwgy_base_apartment")
    @ApiModelProperty(value = "楼宇")
    @TableField(exist = false)
    private String buildingId;
	/**单元*/
	@Excel(name = "单元", width = 15)
    @Dict(dicCode = "id",dicText = "name",dictTable = "lwgy_base_apartment")
    @ApiModelProperty(value = "单元")
    @TableField(exist = false)
    private String unitId;
	/**楼层*/
	@Excel(name = "楼层", width = 15)
    @Dict(dicCode = "id",dicText = "name",dictTable = "lwgy_base_apartment")
    @ApiModelProperty(value = "楼层")
    @TableField(exist = false)
    private String layerId;
	/**房间*/
	@Excel(name = "房间", width = 15)
    @Dict(dicCode = "id",dicText = "name",dictTable = "lwgy_base_apartment")
    @ApiModelProperty(value = "房间")
    @TableField(exist = false)
    private String roomId;
	/**学生*/
	@Excel(name = "学生", width = 15)
    @Dict(dicCode = "id",dicText = "student_name",dictTable = "lwgy_base_student")
    @ApiModelProperty(value = "学生")
    @TableField(exist = false)
    private String studentId;
    /**学号*/
    @Excel(name = "学号", width = 15)
    @Dict(dicCode = "id",dicText = "student_number",dictTable = "lwgy_base_student")
    @ApiModelProperty(value = "学号")
    @TableField(exist = false)
    private String studentNumber;
    /**校区*/
    @Excel(name = "校区", width = 15)
    @Dict(dicCode = "id",dicText = "student_campus",dictTable = "lwgy_base_school")
    @ApiModelProperty(value = "校区")
    @TableField(exist = false)
    private String studentCampus;

    /**院系*/
    @Excel(name = "院系", width = 15)
    @Dict(dicCode = "id",dicText = "name",dictTable = "lwgy_base_school")
    @ApiModelProperty(value = "院系")
    @TableField(exist = false)
    private String studentCollege;

    /**年级*/
    @Excel(name = "年级", width = 15)
    @Dict(dicCode = "id",dicText = "name",dictTable = "lwgy_base_school")
    @ApiModelProperty(value = "年级")
    @TableField(exist = false)
    private String studentYear;

    /**专业*/
    @Excel(name = "专业", width = 15)
    @Dict(dicCode = "id",dicText = "name",dictTable = "lwgy_base_school")
    @ApiModelProperty(value = "专业")
    @TableField(exist = false)
    private String studentMajor;

    /**班级*/
    @Excel(name = "班级", width = 15)
    @Dict(dicCode = "id",dicText = "name",dictTable = "lwgy_base_school")
    @ApiModelProperty(value = "班级")
    @TableField(exist = false)
    private String studentClass;



	/**床位名*/
	@Excel(name = "床位名", width = 15)
    @ApiModelProperty(value = "床位名")
    @TableField(exist = false)
    private String name;
	/**床位号*/
	@Excel(name = "床位号", width = 15)
    @ApiModelProperty(value = "床位号")
    @TableField(exist = false)
    private String bedCode;

    @Excel(name = "考勤结果", width = 15, dicCode = "abnormal_inout2")
    @ApiModelProperty(value = "考勤结果")
    @Dict(dicCode = "abnormal_inout2")
    @TableField(exist = false)
    private String endkqResult;

    /**最后考勤id*/
    @Excel(name = "最后考勤id", width = 15)
    @ApiModelProperty(value = "最后考勤id")
    @TableField(exist = false)
    private String endkqId;
    /**最后考勤时间*/
    @Excel(name = "最后考勤时间", width = 15)
    @ApiModelProperty(value = "最后考勤时间")
    @TableField(exist = false)
    private Date endkqTime;

    /**最后打卡时间*/
    @Excel(name = "最后考勤定位", width = 15)
    @ApiModelProperty(value = "最后考勤定位")
    @TableField(exist = false)
    private String endkqLocation;

    @TableField(exist = false)
    private String adminId;

    @TableField(exist = false)
    private String campusName;
    @TableField(exist = false)
    private String buildingName;
    @TableField(exist = false)
    private String unitName;
    @TableField(exist = false)
    private String layerName;
    @TableField(exist = false)
    private String roomName;
    @TableField(exist = false)
    private String bedName;

    @TableField(exist = false)
    private String collegeName;
    @TableField(exist = false)
    private String yearName;
    @TableField(exist = false)
    private String majorName;
    @TableField(exist = false)
    private String className;




}
